<template>
  <div class="topbar">
    <div class="wrap topbarwrap">
      <!-- 左边 -->
      <div class="left">欢迎来到叩丁狼积分商场</div>
      <!-- 右边 -->
      <ul>
        <li>
          <img src="../assets/img/userImg.f8bbec5e.png" alt="" width="23px" />
          用户名:游客
        </li>
        <li>我的积分:--</li>
        <li>获取积分</li>
        <li>叩丁狼官网</li>
        <li class="current">登录</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang='less' scoped>
.topbar {
  height: 40px;
  background-color: #242b39;
  color: #fff;
  line-height: 40px;
  font-size: 16px;
  .topbarwrap {
    display: flex;
    justify-content: space-between;
  }
  ul {
    display: flex;
    justify-content: space-between;
  }
  li {
    text-align: center;
    margin-left: 20px;
    &.current {
      width: 124px;
      height: 40px;
      background: #0a328e;
    }
    img {
      vertical-align: middle;
      border-radius: 50%;
    }
  }
}
</style>